package edu.yctc.genesis.controller;

import edu.yctc.genesis.entity.UserDO;
import org.springframework.ui.ModelMap;

public interface UserController {

    /**
     * 展示注册页面
     *
     * @param map
     * @return
     */
    String showSignup(ModelMap map);

    /**
     * 注册post请求
     *
     * @param userDO
     * @return
     */
    String signup(UserDO userDO);

}
